package org.openharmony.qttool.qml.language.psi;

import com.intellij.psi.tree.IElementType;
import org.openharmony.qttool.qml.language.QmlLanguage;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;

//定义token类型，构造方法里传入QmlLanguage对象
public class QmlTokenType extends IElementType {
    public QmlTokenType(@NonNls @NotNull String debugName) {
        super(debugName, QmlLanguage.getInstance());
    }

    @Override
    public String toString() {
        return "QmlTokenType." + super.toString();
    }
}
